firstNotNullOfOrNull

inline fun <T, R : Any> Iterator<T>.firstNotNullOfOrNull(transform: (T) -> R?): R?(source)